package cn.tede.javagame.shoot;

import javax.swing.*;

public class ShootFrame extends JFrame {
    //属性
    public static final int WIDTH = 512;
    public static final int HEIGHT = 768;
    //构造
    public ShootFrame(){
        this.setTitle("雷霆战机");
        this.setBounds(300,100,WIDTH,HEIGHT);
        ShootPanel panel = new ShootPanel();
        panel.action();
        this.add(panel);
        this.setVisible(true);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
